package com.wgts.wgts.localbean;

import android.os.Parcel;
import android.os.Parcelable;

/*
 *
 *
 *   data:2018/10/1811:32
 *
 */public class PayData implements Parcelable{
    public String orderId;
    public String needPayPrice;
    public String platformCoin;
    public String orderType;
    public String orderCode;
    public String commissionProfit;

    public PayData(){}

    protected PayData(Parcel in) {
        orderId = in.readString();
        needPayPrice = in.readString();
        platformCoin = in.readString();
        orderType = in.readString();
        orderCode = in.readString();
        commissionProfit = in.readString();
    }

    public static final Creator<PayData> CREATOR = new Creator<PayData>() {
        @Override
        public PayData createFromParcel(Parcel in) {
            return new PayData(in);
        }

        @Override
        public PayData[] newArray(int size) {
            return new PayData[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(orderId);
        dest.writeString(needPayPrice);
        dest.writeString(platformCoin);
        dest.writeString(orderType);
        dest.writeString(orderCode);
        dest.writeString(commissionProfit);
    }
}
